package lab02.Test03;

/**
 * Created by lenovo on 2017/10/13.
 */
public class Test {
    public static void main(String[] args) {
        Student stu=new Student();
        stu.computer=85;
        stu.english=97;
        stu.math=56;
        stu.name="Coco";
       stu.print();
        System.out.println("computer:"+stu.computer+"\t"+"English:"+stu.english+"\t"+"math:"+stu.math);
        System.out.println("total grade:"+stu.total());
        System.out.println("avarage grade:"+stu.avarae());
        System.out.println("top grade:"+stu.topScore());
        System.out.println("smaller grade:"+stu.lowestScore());
    }
}
